package com.mh.entity;

import com.mh.jdbc.entity.MBean;

public class BookType extends MBean{
	private Integer id;//id
	private String bookTypeName;//书籍类型名
	private String bookTypeDesc;//书籍描述
	public BookType(String bookTypeName, String bookTypeDesc) {
		this.bookTypeName = bookTypeName;
		this.bookTypeDesc = bookTypeDesc;
	}
	public BookType(Integer id, String bookTypeName) {
		this.id = id;
		this.bookTypeName = bookTypeName;
	}
	public BookType() {
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getBookTypeName() {
		return bookTypeName;
	}
	public void setBookTypeName(String bookTypeName) {
		this.bookTypeName = bookTypeName;
	}
	public String getBookTypeDesc() {
		return bookTypeDesc;
	}
	public void setBookTypeDesc(String bookTypeDesc) {
		this.bookTypeDesc = bookTypeDesc;
	}
	public String toString() {
		return bookTypeName;
	}
}
